package com.hahaduo.bee.dto;

import java.util.ArrayList;
import java.util.List;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * 
 * @author noodles.wumu@gmail.com
 * @since 2013/06/07 14:10:00
 * @version 0.1
 */
public class AccountTypeDto {

	private String Id;

	@NotEmpty
	private String name;

	@NotEmpty
	private String label1;

	@NotEmpty
	private String label2;

	private String parentId;

	private List<AccountTypeDto> childen = new ArrayList<AccountTypeDto>();

	/**
	 * @return the id
	 */
	public String getId() {
		return Id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		Id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the label1
	 */
	public String getLabel1() {
		return label1;
	}

	/**
	 * @param label1 the label1 to set
	 */
	public void setLabel1(String label1) {
		this.label1 = label1;
	}

	/**
	 * @return the label2
	 */
	public String getLabel2() {
		return label2;
	}

	/**
	 * @param label2 the label2 to set
	 */
	public void setLabel2(String label2) {
		this.label2 = label2;
	}

	/**
	 * @return the parentId
	 */
	public String getParentId() {
		return parentId;
	}

	/**
	 * @param parentId the parentId to set
	 */
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	/**
	 * @return the childen
	 */
	public List<AccountTypeDto> getChilden() {
		return childen;
	}

	/**
	 * @param childen the childen to set
	 */
	public void setChilden(List<AccountTypeDto> childen) {
		this.childen = childen;
	}

	
}
